deploy: Also log to journal if we time out global sync()
authorColin Walters <walters@verbum.org>
Thu, 20 Jan 2022 15:50:07 +0000 (10:50 -0500)
committerColin Walters <walters@verbum.org>
Thu, 20 Jan 2022 15:52:04 +0000 (10:52 -0500)
commit8c58195cc4b1c6d1c90cea3f7f6457e15f4f75bb
treeed1cecfabfb750dbf344f78478ee47d5fb3c06be
parent51361f62af929798b11e3f10038bff2b9496d87f
deploy: Also log to journal if we time out global sync()

We do implicitly have this data because we log timings via structured
metadata in a later journal entry, but it's quite common to lose
the structured metadata because a lot of tooling just grabs the default
syslog-compatible text from `journalctl`.

Let's be louder when we hit this case as a general rule too; I think
most people shipping ostree systems want to see if it's happening.
src/libostree/ostree-sysroot-deploy.c